package com.octopus.yangj.customized.service;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("jobService")
public class JobService {
	
	private static Log log = LogFactory.getLog(JobService.class);
	
    @Autowired
	private CustomizedEventService eventService;
	
	public void doJob(){
		log.info("Begin job of getting feedback from Execute Unit.");
		eventService.getFeedbackFromUnit();
		log.info("End job of getting feedback from Execute Unit.");
	}

}
